home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000143_news@watsun.cc.columbia.edu _Fri Jan 22 13:46:47 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  1KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA03332
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 22 Jan 1999 13:46:45 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA22701
  7.     for kermit.misc@watsun.cc.columbia.edu; Fri, 22 Jan 1999 13:25:14 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: gerlach@netcom.com (Matthew H. Gerlach)
  10. Subject: sleeping for random amounts of time
  11. Message-ID: <gerlachF5z4BA.Hwu@netcom.com>
  12. Organization: ICGNetcom
  13. Date: Fri, 22 Jan 1999 18:21:10 GMT
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16.  
  17. Hi gang,
  18.  
  19. I want to write a kermit script to thrash a device I'm working on.
  20. In doing so, I want the script to be able to insert random pauses
  21. in the data stream.  
  22.  
  23. I figured the msleep command would provide the pauses, but I see no
  24. builting random() function call or anything like that.  I didn't see
  25. a relevent posting in a DejaNews search; so I was wondering if anyone
  26. had a good idea for generating a random number in a kermit script?
  27.  
  28. Matthew H. Gerlach